package net.maku.module.organization.vo;

import com.fhs.core.trans.vo.TransPojo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

import net.maku.framework.common.utils.DateUtils;

import java.util.Date;

/**
 * 业务_角色
 *
 * @author
 */
@Data
@Schema(description = "业务_角色")
public class RoleStaffVO implements Serializable, TransPojo {
    private static final long serialVersionUID = 1L;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "创建人")
    private Long creator;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createTime;

    @Schema(description = "更新人")
    private Long updater;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateTime;

    @Schema(description = "版本")
    private Integer version;

    @Schema(description = "删除标识")
    private Integer deleted;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "业务角色id")
    private Long roleId;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @Schema(description = "员工id")
    private Long staffId;

    private String name;
    private String code;
    private String phone;

    private String organName;
    private String positionName;
}